package org.sxp.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by klaus on 2019/8/22.
 */
@Configuration
@PropertySource("classpath:generator.properties")
public class GeneratorConfig {
    @Value("${mainPath}")
    private String mainPath;
    @Value("${packageName}")
    private String packageName;
    @Value("${moduleName}")
    private String moduleName;
    @Value("${author}")
    private String author;
    @Value("${email}")
    private String email;
    @Value("${tablePrefix}")
    private String tablePrefix;

    public String getMainPath() {
        return mainPath;
    }

    public void setMainPath(String mainPath) {
        this.mainPath = mainPath;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTablePrefix() {
        return tablePrefix;
    }

    public void setTablePrefix(String tablePrefix) {
        this.tablePrefix = tablePrefix;
    }
}
